Optimal. Leaf size=120 \[ -\frac{x^{m+1} (b c-a d) (a d (1-m)+b c (m+3)) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )}{2 c^2 d^2 (m+1)}+\frac{x^{m+1} (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{b^2 x^{m+1}}{d^2 (m+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.279261, antiderivative size = 120, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ -\frac{x^{m+1} (b c-a d) (a d (1-m)+b c (m+3)) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )}{2 c^2 d^2 (m+1)}+\frac{x^{m+1} (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{b^2 x^{m+1}}{d^2 (m+1)} \]
Antiderivative was successfully verified.
[In] Int[(x^m*(a + b*x^2)^2)/(c + d*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 41.9547, size = 104, normalized size = 0.87 \[ \frac{b^{2} x^{m + 1}}{d^{2} \left (m + 1\right )} + \frac{x^{m + 1} \left (a d - b c\right )^{2}}{2 c d^{2} \left (c + d x^{2}\right )} + \frac{x^{m + 1} \left (a d - b c\right ) \left (- a d m + a d + b c m + 3 b c\right ){{}_{2}F_{1}\left (\begin{matrix} 1, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{- \frac{d x^{2}}{c}} \right )}}{2 c^{2} d^{2} \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(b*x**2+a)**2/(d*x**2+c)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.162157, size = 118, normalized size = 0.98 \[ \frac{x^{m+1} \left (\frac{a^2 \, _2F_1\left (2,\frac{m+1}{2};\frac{m+3}{2};-\frac{d x^2}{c}\right )}{m+1}+b x^2 \left (\frac{2 a \, _2F_1\left (2,\frac{m+3}{2};\frac{m+5}{2};-\frac{d x^2}{c}\right )}{m+3}+\frac{b x^2 \, _2F_1\left (2,\frac{m+5}{2};\frac{m+7}{2};-\frac{d x^2}{c}\right )}{m+5}\right )\right )}{c^2} \]
Antiderivative was successfully verified.
[In] Integrate[(x^m*(a + b*x^2)^2)/(c + d*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.066, size = 0, normalized size = 0. \[ \int{\frac{{x}^{m} \left ( b{x}^{2}+a \right ) ^{2}}{ \left ( d{x}^{2}+c \right ) ^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(b*x^2+a)^2/(d*x^2+c)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + a\right )}^{2} x^{m}}{{\left (d x^{2} + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^m/(d*x^2 + c)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )} x^{m}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^m/(d*x^2 + c)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{m} \left (a + b x^{2}\right )^{2}}{\left (c + d x^{2}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(b*x**2+a)**2/(d*x**2+c)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + a\right )}^{2} x^{m}}{{\left (d x^{2} + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^m/(d*x^2 + c)^2,x, algorithm="giac")
[Out]